package com.itkeke.ssm.controller;

import com.itkeke.ssm.service.StartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class StartController {

    @Autowired
    private StartService startService;

    @RequestMapping("/index")
    public String index(){

//      StartService startService = new StartServiceImpl();
        System.out.println("fsdafsadfsfdsa");
        startService.findMsg();
        return "index";
    }
}
